<h1>Listing item_attributes</h1>

<table>
  <tr>
    <th>Item</th>
    <th>Attribute</th>
    <th>Value</th>
  </tr>

<% for item_attribute in @item_attributes %>
  <tr>
    <td><%=h item_attribute.item_id %></td>
    <td><%=h item_attribute.attribute_id %></td>
    <td><%=h item_attribute.value %></td>
    <td><%= link_to 'Show', item_attribute %></td>
    <td><%= link_to 'Edit', edit_item_attribute_path(item_attribute) %></td>
    <td><%= link_to 'Destroy', item_attribute, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New item_attribute', new_item_attribute_path %>
